<template>
  <div class="home-location">
    <div class="location-item">
      <span class="iconfont">&#xe601;</span>
      北京市石景山区
    </div>
    <div class="location-item">
      <span class="iconfont">&#xe844;</span>
      全球游
    </div>
  </div>
</template>

<script>
export default {
  name: "HomeLocation"
}
</script>

<style scoped>
  .home-location {
    display: flex;
    background-color: #fff;
  }
  .home-location .location-item {
    flex: 1;
    font-size: .28rem;
    text-align: center;
    line-height: 1rem;
    position: relative;
  }
  .location-item::before,.location-item::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
  }
  .location-item:nth-child(1) {
    border-right: 1px solid #e0e0e0;
  }
</style>
